-- GENERATED SPELL FOR [Deathmaw] --


function spell0_10077(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10077', 8000, 1)
end

function Sorts_10077(pUnit, Event)
local choix_sorts_10077 = math.random(0, 0)
if choix_sorts_10077 == 0 then
pUnit:RegisterEvent('spell0_10077', 1, 1)
end
end

function mob10077_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10077', math.random(1500, 3000), 1)
end

function mob10077_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10077_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10077_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10077, 1, 'mob10077_Action')
RegisterUnitEvent(10077, 2, 'mob10077_Leave')
RegisterUnitEvent(10077, 3, 'mob10077_Kill')
RegisterUnitEvent(10077, 4, 'mob10077_Die')
